Skip to content

Update dependency attrs to v26#884

Merged
sir-gon merged 1 commit intomainfrom
renovate/attrs-26.x
Mar 20, 2026
Merged

Update dependency attrs to v26#884
sir-gon merged 1 commit intomainfrom
renovate/attrs-26.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Change Age Confidence
attrs (changelog) ==25.4.0==26.1.0 age confidence

Release Notes

python-attrs/attrs (attrs)

v26.1.0

Compare Source

Backwards-incompatible Changes
  • Field aliases are now resolved before calling field_transformer, so transformers receive fully populated Attribute objects with usable alias values instead of None.
    The new Attribute.alias_is_default flag indicates whether the alias was auto-generated (True) or explicitly set by the user (False).
    #​1509
Changes
  • Fix type annotations for attrs.validators.optional(), so it no longer rejects tuples with more than one validator.
    #​1496
  • The attrs.validators.disabled() contextmanager can now be nested.
    #​1513
  • Frozen classes can set on_setattr=attrs.setters.NO_OP in addition to None.
    #​1515
  • It's now possible to pass attrs instances in addition to attrs classes to attrs.fields().
    #​1529

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9da18a5) to head (8ea751f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #884   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          106       106           
  Lines         1884      1884           
  Branches       311       311           
=========================================
  Hits          1884      1884           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

@sir-gon sir-gon merged commit a2c0bad into main Mar 20, 2026
42 of 43 checks passed
@renovate renovate bot deleted the renovate/attrs-26.x branch March 20, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant